package com.cn.mapper.dao.db5.Equipment;

import com.cn.bean.vo.Equipment.BusinessDimensionConfiguration;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BusinessDimensionConfigurationDao {
     List<BusinessDimensionConfiguration> selectBusinessDimensionConfiguration(@Param("limit")int limit, @Param("page")int page,@Param("dimensionCode")String dimensionCode,@Param("dimensionName")String dimensionName);
     int addBusinessDimensionConfiguration(@Param("ID")int ID,@Param("dimensionType")int dimensionType,@Param("dimensionCode")String dimensionCode,@Param("dimensionName")String dimensionName,@Param("status")int status,@Param("description")String description);
     int addBusinessDimensionConfigurationChild(@Param("ID")int ID,@Param("MID")int MID,@Param("dimensionItemID")int dimensionItemID,@Param("dimensionItemName")String dimensionItemName);
     int deleteBusinessDimensionConfiguration(@Param("ID")int ID);
     int deleteBusinessDimensionConfigurationChild(@Param("ID")int ID);
     List<BusinessDimensionConfiguration> selectBusinessDimensionConfigurationChild(@Param("ID")int ID);
     int updateBusinessDimensionConfiguration(@Param("ID")int ID,@Param("dimensionType")int dimensionType,@Param("dimensionName")String dimensionName,@Param("status")int status,@Param("description")String description);
     List<BusinessDimensionConfiguration> selectAll();

}
